// 后端接口response字段，data为泛型，传入当前接口data的ts数据类型
export interface ResponseType<D = Record<string, never>> {
  code: string;
  msg: string;
  data: D;
  success: boolean;
}

// 列表数据返回
export interface RecordsProp<R = null> {
  records: R[];
  total?: number;
  pageSize?: number;
  pageNum?: number;
}
